package com.yc.cloud.common.oss.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OssUploadChunkParam {

    @ApiModelProperty(value = "第几块", required = true)
    private int chunkNumber;
    @ApiModelProperty(value = "一共几块,从1开始", required = true)
    private int totalChunkNumber;
//    @ApiModelProperty(value = "文件数据")
//    private byte[] data;

    @ApiModelProperty(value = "文件MD5标识", required = true)
    private String fileId;

    @ApiModelProperty(value = "文件格式", required = true)
    private String suffix;

    @ApiModelProperty(value = "文件名称", required = true)
    private String fileName;

    @ApiModelProperty(value = "存储桶", hidden = true)
    private String bucket;

    @ApiModelProperty(value = "生成封面,默认false")
    private boolean generateCover;


}
